package BinarySearchTree;

public class Test {
    public static void main(String[] args) {
        BinarysearchTree Tree=new BinarysearchTree();
        int[]arr={10,23,4,53,2,3,5,6,7,89,1};
        for (int i = 0; i <arr.length ; i++) {
            Tree.inserrt(arr[i]);
        }
        System.out.println(Tree.search(89).val);

    }
}
